<div class="page-content" >
	<div class="panel panel-default">
		<div class="panel-heading"> <strong>支付方式</strong> </div>
		<div class="panel-body">
			<div class="bootstrap-table">
				<div class="fixed-table-container" style="padding-bottom: 0px;">
					<div class="fixed-table-body">
						<table id="data-table" class="table">
							<thead>
								<tr>
									<th style="" data-field="id"><div class="th-inner sortable both desc">支付Code</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="name"><div class="th-inner ">支付名</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="name"><div class="th-inner ">平台</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="created_at"><div class="th-inner ">状态</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="id"><div class="th-inner ">操作</div>
										<div class="fht-cell"></div></th>
								</tr>
							</thead>
							<tbody>
								<volist name="code" id="v">
									<tr data-index="0">
										<td height="36" align="center" valign="middle"><{$key}></td>
										<td height="36" align="center" valign="middle"><{$v['title']}></td>
										<td height="36" align="center" valign="middle"><{$v['type']=='wap'?'手机版':'Pc版'}></td>
										<td height="36" align="center" valign="middle"><{$v['enabled']==1 ? '正常' : '关闭'}></td>
										<td style=""><if condition="$v['enabled']"> <a  href="<{:U('enabled')}>?code=<{$key}>&close=0" class="btn btn-primary btn-xs">关闭</a>
												<else />
												<a  href="<{:U('enabled')}>?code=<{$key}>&close=1" class="btn btn-primary btn-xs">开启</a> </if>
											<a  href="<{:U('paymentAdd',array('code'=>$key , 'name'=>$arr[$key]))}>" class="btn btn-primary btn-xs">配置</a> <a onclick="return confirm('确认需要删除些信息吗？');"  href="<{:U('paymentDel',array('id'=>$vo['payment_id']))}>" class="btn btn-primary btn-xs">删除</a></td>
									</tr>
								</volist>
							</tbody>
						</table>
					</div>
					<include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" /> </div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>
